projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2829f7e
)
(window-setup-hook): Add hook function.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 3 Aug 1993 17:45:17 +0000
(17:45 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 3 Aug 1993 17:45:17 +0000
(17:45 +0000)
lisp/paren.el
patch
|
blob
|
history
diff --git
a/lisp/paren.el
b/lisp/paren.el
index e42751c706e6d0b3a4b8173b09b17b781267a0d1..1c517bdf500817712a43ccd22f790ba6bfd0fa8b 100644
(file)
--- a/
lisp/paren.el
+++ b/
lisp/paren.el
@@
-125,7
+125,14
@@
(progn
(setq blink-paren-function nil)
(add-hook 'post-command-hook 'show-paren-command-hook)))
-
+;;; This is in case paren.el is preloaded.
+(add-hook 'window-setup-hook
+ (function (lambda ()
+ (if window-system
+ (progn
+ (setq blink-paren-function nil)
+ (add-hook 'post-command-hook
+ 'show-paren-command-hook))))))
(provide 'paren)
;;; paren.el ends here